home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / communut / ctsspu42.zip / WINDOWS.TXT < prev   
Text File  |  1996-12-23  |  5KB  |  105 lines

  1. Why Diagnostic Software Runs in DOS
  2. -----------------------------------
  3. We get a lot of questions about "When will you have a version for
  4. Windows?" (or Windows 95, Windows NT or OS/2). There is a good
  5. reason why our software (as well as most true diagnostic software
  6. runs in DOS or from a self-booting diskette.
  7.  
  8. For the purposes of this note, we will define two types of system
  9. testing programs: "diagnostic tools" and "system scanners". 
  10.  
  11. A "diagnostic tool" is a software program to assist in the
  12. troubleshooting of a hardware failure or hardware and/or software
  13. configuration problem. These tools actually take control of and
  14. test the hardware to determine if it is working, and, if so, what
  15. port address and IRQ it is using. This is the way the shareware
  16. (trial) version of PortInfo operates. An additional feature of
  17. some diagnostics is to verify that the software is set up
  18. properly to use the hardware. The complete version of PortInfo
  19. will also do this by verifying that the Windows SYSTEM.INI file
  20. is correctly set up to use the serial ports.
  21.  
  22. A "system scanner" is a generic "it's working" or "it's broke" type
  23. of program. They often run in Windows (or Windows 95) and have
  24. real cool user interfaces, but they don't actually test the
  25. hardware. Instead, a system scanner is reporting what the
  26. operating system driver reports. The drivers typically provide
  27. little diagnostic information other than they found (or didn't
  28. find) the device. But at the end, you don't really know a whole
  29. lot more than you did before.
  30.  
  31. Why do Hardware Testing Programs Run in DOS?
  32. --------------------------------------------
  33. PortInfo (and most other diagnostic tools) run in DOS because
  34. most operating systems (Windows, Windows 95, Windows NT and OS/2)
  35. prevent software from using the hardware directly. This is done
  36. intentionally for a number of reasons, but primarily to make the
  37. system easier to use and to reduce the risk of system lockups
  38. caused by software using the hardware incorrectly.
  39.  
  40. The operating system uses "device drivers" to control the
  41. different hardware devices. The driver provides a defined
  42. interface for use by applications written for the operating
  43. system and also provides an interface for DOS compatibility. This
  44. causes problems for diagnostic software because the diagnostic
  45. has to work with the driver and cannot access the hardware
  46. directly. This limits the diagnostic to reporting information
  47. that is available from the driver.
  48.  
  49. Hardware diagnostic programs (like PortInfo) require direct
  50. access to devices for reliable testing. Since DOS is the only
  51. operating system that allows software to access the hardware
  52. directly, you should plan on using DOS for many of the most
  53. useful diagnostics.
  54.  
  55. How to Test From a Windows Environment 
  56. --------------------------------------
  57. You can obtain some useful information about what ports are
  58. detected and which ports have modems when you run a DOS
  59. diagnostic such as PortInfo from within Windows. However, since
  60. PortInfo is not working directly with the hardware, PortInfo (and
  61. your applications) may not detect a serial port (or modem) if
  62. Windows has not been set up properly. For best results, start by
  63. running in DOS to determine what hardware exists and then run
  64. again from within Windows to verify that all of the hardware
  65. detected by the DOS test is available to your Windows
  66. applications.
  67.  
  68. Windows 95 Considerations
  69. -------------------------
  70. Windows 95 and Plug-and-Play has made troubleshooting
  71. communications problems more difficult than in the past as there
  72. are a number of new issues to consider. While we are working to
  73. on a good solution for Windows 95 communication setup problems,
  74. we suggest that you continue using PortInfo as before. First, run
  75. PortInfo after you have rebooted into DOS mode (select "reboot to
  76. DOS" from the Windows 95 shutdown menu). Run PortInfo and note
  77. which ports are installed and which port addresses and IRQs are
  78. being used. 
  79.  
  80. Next, restart Windows 95. Temporarily turn off any communication
  81. applications (especially fax reception programs as these will
  82. allocate and hide the serial port from other applications). Then
  83. run PortInfo from within Windows 95. All of the ports detected in
  84. the first PortInfo run should be listed at the same address and
  85. IRQ. It is also possible that an additional port will appear if
  86. there is a plug-and-play modem installed that was not configured
  87. to operate during the DOS test. If one of the ports is missing,
  88. make certain that another application is not using the port. 
  89.  
  90. Finally, compare the results from PortInfo with the Windows 95
  91. Device Manager. From the "My Computer" icon, select "Control
  92. Panel" and then "System". The second tab is the "Device Manager".
  93. Under the entry "Ports" there should be a listing for each Com
  94. port in the computer. Select "Properties" and then "Resources" to
  95. see what I/O address and IRQ Windows 95 is using for each port.
  96. If a port is showing different resources than PortInfo indicated,
  97. then try to change the port setting in the device manager by
  98. disabling "Use Automatic Settings" and selecting a configuration
  99. that matches the actual port use. If this does not work, select
  100. Cancel, then Remove the port from the device manager. Restart
  101. Windows 95 and re-install the port by selecting "My Computer",
  102. "Control Panel" and "Add New Hardware". 
  103.  
  104. Last Update: 8/6/96
  105.